#pragma warning disable 108
using System;
using System.Runtime.InteropServices;
using System.Collections.Generic;
using Cephei;
using Cephei.Generic;
namespace Cephei.QL.Math.Statistics
{
     // <summary> 
	// ! This class computes the histogram of a given data set.  The caller can specify the number of bins, the breaks, or the algorithm for determining these quantities in computing the histogram.
	// </summary>
    [Guid ("AB30A97D-A61F-413e-8C06-286DAEDFE3D0"),ComVisible(true)]
	public interface IHistogram 
	{
		///////////////////////////////////////////////////////////////
        // Methods
        //
        
		 QL.Math.Statistics.Histogram.AlgorithmEnum Algorithm {get;}
        
		 UInt64 Bins {get;}
        
		 Cephei.IVector<Double> Breaks {get;}
        
		 UInt64 Counts(UInt64 i);
        
		 Boolean Empty {get;}
        
		 Double Frequency(UInt64 i);
    }

    // <summary> 
	// ! This class computes the histogram of a given data set.  The caller can specify the number of bins, the breaks, or the algorithm for determining these quantities in computing the histogram. Factory
	// </summary>
   	[ComVisible(true)]
    public interface IHistogram_Factory // : Collection_Factory<IHistogram, ICell<IHistogram>>
    {
        ///////////////////////////////////////////////////////////////
        // Factory methods
        //
        
	    IHistogram Create ();
    }
}

